package com.ruoyi.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学生对象 ruoyi_student
 *
 * @author ruoyi
 * @date 2023-07-31
 */
public class RuoyiStudent extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 学生id
     */
    private Long stuId;

    /**
     * 学生姓名
     */
    @Excel(name = "学生姓名")
    private String stuName;

    /**
     * 学生登录用户名
     */
    @Excel(name = "学生登录用户名")
    private String stuLobinName;

    /**
     * 登录密码
     */
    private String stuPassword;

    /**
     * 学生所属班级（对应班级表主键）
     */
    @Excel(name = "学生所属班级" , readConverterExp = "对=应班级表主键")
    private Long clId;

    /**
     * 备注信息
     */
    private String stuInfo;

    /**
     * 所属角色 （对应角色表id）
     */
    private Long rodeId;

    /**
     * 逻辑删除
     */
    private String isDel;

    public void setStuId(Long stuId) {
        this.stuId = stuId;
    }

    public Long getStuId() {
        return stuId;
    }

    public void setStuName(String stuName) {
        this.stuName = stuName;
    }

    public String getStuName() {
        return stuName;
    }

    public void setStuLobinName(String stuLobinName) {
        this.stuLobinName = stuLobinName;
    }

    public String getStuLobinName() {
        return stuLobinName;
    }

    public void setStuPassword(String stuPassword) {
        this.stuPassword = stuPassword;
    }

    public String getStuPassword() {
        return stuPassword;
    }

    public void setClId(Long clId) {
        this.clId = clId;
    }

    public Long getClId() {
        return clId;
    }

    public void setStuInfo(String stuInfo) {
        this.stuInfo = stuInfo;
    }

    public String getStuInfo() {
        return stuInfo;
    }

    public void setRodeId(Long rodeId) {
        this.rodeId = rodeId;
    }

    public Long getRodeId() {
        return rodeId;
    }

    public void setIsDel(String isDel) {
        this.isDel = isDel;
    }

    public String getIsDel() {
        return isDel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("stuId" , getStuId())
                .append("stuName" , getStuName())
                .append("stuLobinName" , getStuLobinName())
                .append("stuPassword" , getStuPassword())
                .append("clId" , getClId())
                .append("stuInfo" , getStuInfo())
                .append("rodeId" , getRodeId())
                .append("createTime" , getCreateTime())
                .append("updateTime" , getUpdateTime())
                .append("isDel" , getIsDel())
                .toString();
    }
}
